# -*- coding: utf-8 -*- 
#
# Description:
#
#  Definiton
#
#
#
# Changes:
#
# 2012-01-10
# Initial Commit
#
#
# Copyright 2010-2012, WyDev Team.
# Author: Polo35 (polo35580@hotmail.fr)
#
# Licenced under Academic Free License version 3.0
# Review WyGui README & LICENSE files for further details.

nname: 1462
n 1462(None)[images.sort()
print '.png files:'
print '   * recent (> %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
print '   * old (<= %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
return None
]:
	i: 1171(AL), 1461()
	o: 

nname: 1461
n 1461(None)[]:
	i: 1300(AF), 1458()
	o: 1462()

nname: 1458
n 1458(None)[]:
	i: 1348(AL), 1457()
	o: 1461()

nname: 1457
n 1457(None)[]:
	i: 1351(AF), 1390()
	o: 1458()

nname: 1390
n 1390(None)[images.append((stats.st_atime, stats.st_size, fullname))
]:
	i: 1382(), 1389()
	o: 1457()

nname: 1389
n 1389(None)[]:
	i: 1358(t)
	o: 1390()

nname: 1382
n 1382(None)[continue
]:
	i: 1358(f)
	o: 1390()

nname: 1358
n 1358(fname.lower().endswith('.png'))[for fname in files:
]:
	i: 1351(for)
	o: 1382(f), 1389(t)

nname: 1351
n 1351(None)[]:
	i: 1348(loop)
	o: 1358(for), 1457(AF)

nname: 1348
n 1348(None)[]:
	i: 1340(), 1347()
	o: 1351(loop), 1458(AL)

nname: 1347
n 1347(None)[]:
	i: 1316(f)
	o: 1348()

nname: 1340
n 1340(None)[continue
]:
	i: 1316(t)
	o: 1348()

nname: 1316
n 1316('.svn' in root)[]:
	i: 1300(for)
	o: 1340(t), 1347(f)

nname: 1300
n 1300(None)[]:
	i: 1171(loop)
	o: 1316(for), 1461(AF)

nname: 1171
n 1171(None)[zf.close()
print '.py files:',
print bytes_to_human(sum(<genexpr>(py_files))),
print '->',
print bytes_to_human(os.stat(os.path.join(python_home, 'lib', 'python25.zip')).st_size),
print '(compressed)'
print "PYTHONHOME='%s' python -c 'import wybox; wybox.startup()'" % python_home
]:
	i: 846(AL), 1170()
	o: 1300(loop), 1462(AL)

nname: 1170
n 1170(None)[]:
	i: 886(AF), 1166()
	o: 1171()

nname: 1166
n 1166(None)[]:
	i: 1068(f), 1080()
	o: 1170()

nname: 1080
n 1080(None)[zf.write(fname, shortname)
continue
]:
	i: 1068(t)
	o: 1166()

nname: 1068
n 1068('/wybox/config/__init__.py' in shortname)[]:
	i: 1035(), 1054()
	o: 1080(t), 1166(f)

nname: 1054
n 1054(None)[zf.writestr(*fname)
]:
	i: 893(f)
	o: 1068()

nname: 1035
n 1035(None)[zf.write(fname, shortname)
]:
	i: 945(AL), 1034()
	o: 1068()

nname: 1034
n 1034(None)[]:
	i: 954(AF), 1030()
	o: 1035()

nname: 1030
n 1030(None)[]:
	i: 964(f), 1026()
	o: 1034()

nname: 1026
n 1026(None)[break
continue
]:
	i: 1011(), 1025()
	o: 1030()

nname: 1025
n 1025(None)[]:
	i: 982(f)
	o: 1026()

nname: 1011
n 1011(None)[]:
	i: 982(t)
	o: 1026()

nname: 982
n 982('wybox' in fname)[]:
	i: 964(t)
	o: 1011(t), 1025(f)

nname: 964
n 964(fname.startswith(mod_dir))[for mod_dir in sys.path:
]:
	i: 954(for)
	o: 982(t), 1030(f)

nname: 954
n 954(None)[]:
	i: 945(loop)
	o: 964(for), 1034(AF)

nname: 945
n 945(None)[]:
	i: 937(), 944()
	o: 954(loop), 1035(AL)

nname: 944
n 944(None)[]:
	i: 911&924(f)
	o: 945()

nname: 937
n 937(None)[continue
]:
	i: 911&924(t)
	o: 945()

nname: 911&924
n 911&924('gtk-2.0' in fname or 'wydbus' in fname)[]:
	i: 893(t)
	o: 937(t), 944(f)

nname: 893
n 893(isinstance(fname, basestring))[for fname in py_files:
]:
	i: 886(for)
	o: 911&924(t), 1054(f)

nname: 886
n 886(None)[]:
	i: 846(loop)
	o: 893(for), 1170(AF)

nname: 846
n 846(None)[print '.so files:',
print bytes_to_human(sum(<genexpr>(so_files)))
]:
	i: 740(AL), 845()
	o: 886(loop), 1171(AL)

nname: 845
n 845(None)[]:
	i: 756(AF), 841()
	o: 846()

nname: 841
n 841(None)[]:
	i: 772&790(f), 806()
	o: 845()

nname: 806
n 806(None)[shutil.copy(os.path.join(wydbus_root, fname), wydbus_dir)
continue
]:
	i: 772&790(t)
	o: 841()

nname: 772&790
n 772&790(fname.endswith('.py') or fname.endswith('.so'))[for fname in os.listdir(wydbus_root):
]:
	i: 756(for)
	o: 806(t), 841(f)

nname: 756
n 756(None)[]:
	i: 740(loop)
	o: 772&790(for), 845(AF)

nname: 740
n 740(None)[del _[2]
]:
	i: 647(AF), 736()
	o: 756(loop), 846(AL)

nname: 736
n 736(None)[]:
	i: 710(f), 725()
	o: 740()

nname: 725
n 725(None)[continue
]:
	i: 710(t)
	o: 736()

nname: 710
n 710('wydbus/' in f)[for f in py_files:
]:
	i: 647(for)
	o: 725(t), 736(f)

nname: 647
n 647(None)[os.mkdir(wydbus_dir)
]:
	i: 438(AL), 646()
	o: 710(for), 740(AF)

nname: 646
n 646(None)[]:
	i: 441(AF), 609()
	o: 647()

nname: 609
n 609(None)[shutil.copy(fname, os.path.join(python_home, 'lib', 'python2.5'))
]:
	i: 602(), 608()
	o: 646()

nname: 608
n 608(None)[]:
	i: 448(f)
	o: 609()

nname: 602
n 602(None)[continue
]:
	i: 463(AL), 601()
	o: 609()

nname: 601
n 601(None)[]:
	i: 541(AF), 567()
	o: 602()

nname: 567
n 567(None)[for gobj in <genexpr>(py_files):
shutil.copy(gobj.replace('.pyo', '.pyc'), gobject_dir)
]:
	i: 541(for)
	o: 601()

nname: 541
n 541(None)[]:
	i: 463(loop)
	o: 567(for), 601(AF)

nname: 463
n 463(None)[os.mkdir(gobject_dir)
shutil.copy(fname, gobject_dir)
]:
	i: 448(t)
	o: 541(loop), 602(AL)

nname: 448
n 448('_gobject' in fname)[for fname in so_files:
]:
	i: 441(for)
	o: 463(t), 608(f)

nname: 441
n 441(None)[]:
	i: 438(loop)
	o: 448(for), 646(AF)

nname: 438
n 438(None)[]:
	i: 154(AL), 437()
	o: 441(loop), 647(AL)

nname: 437
n 437(None)[]:
	i: 287(AF), 420()
	o: 438()

nname: 420
n 420(None)[py_files.append(fname)
]:
	i: 329(t), 348()
	o: 437()

nname: 348
n 348(None)[egg_path += '.egg'
py_files.append((subdir, ZipFile(egg_path).read(subdir)))
continue
]:
	i: 329(f)
	o: 420()

nname: 329
n 329(os.path.exists(fname))[]:
	i: 294(f), 312()
	o: 348(f), 420(t)

nname: 312
n 312(None)[so_files.append(fname)
continue
]:
	i: 294(t)
	o: 329()

nname: 294
n 294(fname.endswith('.so'))[for fname in modules_list:
]:
	i: 287(for)
	o: 312(t), 329(f)

nname: 287
n 287(None)[]:
	i: 154(loop)
	o: 294(for), 437(AF)

nname: 154
n 154(None)[os.mkdir(python_home)
os.mkdir(os.path.join(python_home, 'lib'))
os.mkdir(os.path.join(python_home, 'lib', 'python2.5'))
modules_list.sort()
]:
	i: 130(), 147(), 153(AE)
	o: 287(loop), 438(AL)

nname: 147
n 147(None)[]:
	i: 59(except)
	o: 154()

nname: 130
n 130(None)[shutil.rmtree(python_home)
]:
	i: 59(try)
	o: 154()

nname: 59
n 59(None)[del _[1]
for modules_list in sys.modules.values():
import os
import shutil
from peewee.formatters import bytes_to_human
from zipfile import ZipFile, ZIP_DEFLATED
]:
	i: 0(AF), 55()
	o: 130(try), 147(except)

nname: 55
n 55(None)[]:
	i: 23(f), 41()
	o: 59()

nname: 41
n 41(None)[continue
]:
	i: 23(t)
	o: 55()

nname: 23
n 23(hasattr(m, '__file__'))[for m in sys.modules.values():
]:
	i: 0(for)
	o: 41(t), 55(f)

nname: 0
n 0(None)[]:
	i: 
	o: 23(for), 59(AF)

nname: 1462
n 1462(None)[images.sort()
print '.png files:'
print '   * recent (> %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
print '   * old (<= %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
return None
]:
	i: 1171(AL), 1300(AF), 1316(AL), 1351(AF), 1358()
	o: 

nname: 1358
n 1358(None)[for fname in files:
if not fname.lower().endswith('.png'):
	continue
images.append((stats.st_atime, stats.st_size, fullname))
]:
	i: 1351(for)
	o: 1462()

nname: 1351
n 1351(None)[]:
	i: 1316(loop)
	o: 1358(for), 1462(AF)

nname: 1316
n 1316(None)[if '.svn' in root:
	continue
]:
	i: 1300(for)
	o: 1351(loop), 1462(AL)

nname: 1300
n 1300(None)[]:
	i: 1171(loop)
	o: 1316(for), 1462(AF)

nname: 1171
n 1171(None)[zf.close()
print '.py files:',
print bytes_to_human(sum(<genexpr>(py_files))),
print '->',
print bytes_to_human(os.stat(os.path.join(python_home, 'lib', 'python25.zip')).st_size),
print '(compressed)'
print "PYTHONHOME='%s' python -c 'import wybox; wybox.startup()'" % python_home
]:
	i: 846(AL), 886(AF), 1068()
	o: 1300(loop), 1462(AL)

nname: 1068
n 1068(None)[if '/wybox/config/__init__.py' in shortname:
	zf.write(fname, shortname)
	continue
]:
	i: 1035(), 1054()
	o: 1171()

nname: 1054
n 1054(None)[zf.writestr(*fname)
]:
	i: 893(f)
	o: 1068()

nname: 1035
n 1035(None)[zf.write(fname, shortname)
]:
	i: 911&924(AL), 954(AF), 964(f), 982()
	o: 1068()

nname: 982
n 982(None)[if 'wybox' in fname:
	pass
break
continue
]:
	i: 964(t)
	o: 1035()

nname: 964
n 964(fname.startswith(mod_dir))[for mod_dir in sys.path:
]:
	i: 954(for)
	o: 982(t), 1035(f)

nname: 954
n 954(None)[]:
	i: 911&924(loop)
	o: 964(for), 1035(AF)

nname: 911&924
n 911&924(None)[if 'gtk-2.0' in fname or 'wydbus' in fname:
	continue
]:
	i: 893(t)
	o: 954(loop), 1035(AL)

nname: 893
n 893(isinstance(fname, basestring))[for fname in py_files:
]:
	i: 886(for)
	o: 911&924(t), 1054(f)

nname: 886
n 886(None)[]:
	i: 846(loop)
	o: 893(for), 1171(AF)

nname: 846
n 846(None)[print '.so files:',
print bytes_to_human(sum(<genexpr>(so_files)))
]:
	i: 740(AL), 756(AF), 772&790(f)
	o: 886(loop), 1171(AL)

nname: 772&790
n 772&790(None)[for fname in os.listdir(wydbus_root):
if fname.endswith('.py') or fname.endswith('.so'):
	shutil.copy(os.path.join(wydbus_root, fname), wydbus_dir)
	continue
]:
	i: 756(for)
	o: 846()

nname: 756
n 756(None)[]:
	i: 740(loop)
	o: 772&790(for), 846(AF)

nname: 740
n 740(None)[del _[2]
]:
	i: 647(AF), 710()
	o: 756(loop), 846(AL)

nname: 710
n 710(None)[for f in py_files:
if 'wydbus/' in f:
	continue
]:
	i: 647(for)
	o: 740()

nname: 647
n 647(None)[os.mkdir(wydbus_dir)
]:
	i: 438(AL), 441(AF), 609()
	o: 710(for), 740(AF)

nname: 609
n 609(None)[shutil.copy(fname, os.path.join(python_home, 'lib', 'python2.5'))
]:
	i: 602(), 448(f)
	o: 647()

nname: 602
n 602(None)[continue
]:
	i: 567()
	o: 609()

nname: 567
n 567(None)[for gobj in <genexpr>(py_files):
	shutil.copy(gobj.replace('.pyo', '.pyc'), gobject_dir)
]:
	i: 463(for)
	o: 602()

nname: 463
n 463(None)[os.mkdir(gobject_dir)
shutil.copy(fname, gobject_dir)
]:
	i: 448(t)
	o: 567(for)

nname: 448
n 448('_gobject' in fname)[for fname in so_files:
]:
	i: 441(for)
	o: 463(t), 609(f)

nname: 441
n 441(None)[]:
	i: 438(loop)
	o: 448(for), 647(AF)

nname: 438
n 438(None)[]:
	i: 147(AL), 287(AF), 420()
	o: 441(loop), 647(AL)

nname: 420
n 420(None)[py_files.append(fname)
]:
	i: 294(t)
	o: 438()

nname: 294
n 294(None)[for fname in modules_list:
if fname.endswith('.so'):
	so_files.append(fname)
	continue
if not os.path.exists(fname):
	egg_path += '.egg'
	py_files.append((subdir, ZipFile(egg_path).read(subdir)))
	continue
]:
	i: 287(for)
	o: 420()

nname: 287
n 287(None)[]:
	i: 147(loop)
	o: 294(for), 438(AF)

nname: 147
n 147(None)[except:
	pass
os.mkdir(python_home)
os.mkdir(os.path.join(python_home, 'lib'))
os.mkdir(os.path.join(python_home, 'lib', 'python2.5'))
modules_list.sort()
]:
	i: 59()
	o: 287(loop), 438(AL)

nname: 59
n 59(None)[del _[1]
for modules_list in sys.modules.values():
import os
import shutil
from peewee.formatters import bytes_to_human
from zipfile import ZipFile, ZIP_DEFLATED
try:
	shutil.rmtree(python_home)
]:
	i: 0(AF), 23()
	o: 147()

nname: 23
n 23(None)[for m in sys.modules.values():
if hasattr(m, '__file__'):
	continue
]:
	i: 0(for)
	o: 59()

nname: 0
n 0(None)[]:
	i: 
	o: 23(for), 59(AF)

nname: 1462
n 1462(None)[images.sort()
print '.png files:'
print '   * recent (> %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
print '   * old (<= %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
return None
]:
	i: 1171(AL), 1300(AF), 1316(AL), 1351(AF), 1358()
	o: 

nname: 1358
n 1358(None)[for fname in files:
if not fname.lower().endswith('.png'):
	continue
images.append((stats.st_atime, stats.st_size, fullname))
]:
	i: 1351(for)
	o: 1462()

nname: 1351
n 1351(None)[]:
	i: 1316(loop)
	o: 1358(for), 1462(AF)

nname: 1316
n 1316(None)[if '.svn' in root:
	continue
]:
	i: 1300(for)
	o: 1351(loop), 1462(AL)

nname: 1300
n 1300(None)[]:
	i: 1171(loop)
	o: 1316(for), 1462(AF)

nname: 1171
n 1171(None)[zf.close()
print '.py files:',
print bytes_to_human(sum(<genexpr>(py_files))),
print '->',
print bytes_to_human(os.stat(os.path.join(python_home, 'lib', 'python25.zip')).st_size),
print '(compressed)'
print "PYTHONHOME='%s' python -c 'import wybox; wybox.startup()'" % python_home
]:
	i: 772&790(AL), 886(AF), 1068()
	o: 1300(loop), 1462(AL)

nname: 1068
n 1068(None)[if '/wybox/config/__init__.py' in shortname:
	zf.write(fname, shortname)
	continue
]:
	i: 1035(), 1054()
	o: 1171()

nname: 1054
n 1054(None)[zf.writestr(*fname)
]:
	i: 893(f)
	o: 1068()

nname: 1035
n 1035(None)[zf.write(fname, shortname)
]:
	i: 911&924(AL), 954(AF), 964(f)
	o: 1068()

nname: 964
n 964(None)[for mod_dir in sys.path:
if fname.startswith(mod_dir):
	if 'wybox' in fname:
		pass
	break
	continue
]:
	i: 954(for)
	o: 1035()

nname: 954
n 954(None)[]:
	i: 911&924(loop)
	o: 964(for), 1035(AF)

nname: 911&924
n 911&924(None)[if 'gtk-2.0' in fname or 'wydbus' in fname:
	continue
]:
	i: 893(t)
	o: 954(loop), 1035(AL)

nname: 893
n 893(isinstance(fname, basestring))[for fname in py_files:
]:
	i: 886(for)
	o: 911&924(t), 1054(f)

nname: 886
n 886(None)[]:
	i: 772&790(loop)
	o: 893(for), 1171(AF)

nname: 772&790
n 772&790(None)[for fname in os.listdir(wydbus_root):
	if fname.endswith('.py') or fname.endswith('.so'):
		shutil.copy(os.path.join(wydbus_root, fname), wydbus_dir)
		continue
print '.so files:',
print bytes_to_human(sum(<genexpr>(so_files)))
]:
	i: 740(for)
	o: 886(loop), 1171(AL)

nname: 740
n 740(None)[del _[2]
]:
	i: 647(AF), 710()
	o: 772&790(for)

nname: 710
n 710(None)[for f in py_files:
if 'wydbus/' in f:
	continue
]:
	i: 647(for)
	o: 740()

nname: 647
n 647(None)[os.mkdir(wydbus_dir)
]:
	i: 438(AL), 441(AF), 609()
	o: 710(for), 740(AF)

nname: 609
n 609(None)[shutil.copy(fname, os.path.join(python_home, 'lib', 'python2.5'))
]:
	i: 602(), 448(f)
	o: 647()

nname: 602
n 602(None)[continue
]:
	i: 463()
	o: 609()

nname: 463
n 463(None)[os.mkdir(gobject_dir)
shutil.copy(fname, gobject_dir)
for gobj in <genexpr>(py_files):
	shutil.copy(gobj.replace('.pyo', '.pyc'), gobject_dir)
]:
	i: 448(t)
	o: 602()

nname: 448
n 448('_gobject' in fname)[for fname in so_files:
]:
	i: 441(for)
	o: 463(t), 609(f)

nname: 441
n 441(None)[]:
	i: 438(loop)
	o: 448(for), 647(AF)

nname: 438
n 438(None)[]:
	i: 59(AL), 287(AF), 294()
	o: 441(loop), 647(AL)

nname: 294
n 294(None)[for fname in modules_list:
if fname.endswith('.so'):
	so_files.append(fname)
	continue
if not os.path.exists(fname):
	egg_path += '.egg'
	py_files.append((subdir, ZipFile(egg_path).read(subdir)))
	continue
py_files.append(fname)
]:
	i: 287(for)
	o: 438()

nname: 287
n 287(None)[]:
	i: 59(loop)
	o: 294(for), 438(AF)

nname: 59
n 59(None)[del _[1]
for modules_list in sys.modules.values():
import os
import shutil
from peewee.formatters import bytes_to_human
from zipfile import ZipFile, ZIP_DEFLATED
try:
	shutil.rmtree(python_home)
except:
	pass
os.mkdir(python_home)
os.mkdir(os.path.join(python_home, 'lib'))
os.mkdir(os.path.join(python_home, 'lib', 'python2.5'))
modules_list.sort()
]:
	i: 0(AF), 23()
	o: 287(loop), 438(AL)

nname: 23
n 23(None)[for m in sys.modules.values():
if hasattr(m, '__file__'):
	continue
]:
	i: 0(for)
	o: 59()

nname: 0
n 0(None)[]:
	i: 
	o: 23(for), 59(AF)

nname: 1462
n 1462(None)[images.sort()
print '.png files:'
print '   * recent (> %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
print '   * old (<= %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
return None
]:
	i: 1171(AL), 1300(AF), 1316(AL), 1351(AF), 1358()
	o: 

nname: 1358
n 1358(None)[for fname in files:
if not fname.lower().endswith('.png'):
	continue
images.append((stats.st_atime, stats.st_size, fullname))
]:
	i: 1351(for)
	o: 1462()

nname: 1351
n 1351(None)[]:
	i: 1316(loop)
	o: 1358(for), 1462(AF)

nname: 1316
n 1316(None)[if '.svn' in root:
	continue
]:
	i: 1300(for)
	o: 1351(loop), 1462(AL)

nname: 1300
n 1300(None)[]:
	i: 1171(loop)
	o: 1316(for), 1462(AF)

nname: 1171
n 1171(None)[zf.close()
print '.py files:',
print bytes_to_human(sum(<genexpr>(py_files))),
print '->',
print bytes_to_human(os.stat(os.path.join(python_home, 'lib', 'python25.zip')).st_size),
print '(compressed)'
print "PYTHONHOME='%s' python -c 'import wybox; wybox.startup()'" % python_home
]:
	i: 740(AL), 886(AF), 1068()
	o: 1300(loop), 1462(AL)

nname: 1068
n 1068(None)[if '/wybox/config/__init__.py' in shortname:
	zf.write(fname, shortname)
	continue
]:
	i: 1035(), 1054()
	o: 1171()

nname: 1054
n 1054(None)[zf.writestr(*fname)
]:
	i: 893(f)
	o: 1068()

nname: 1035
n 1035(None)[zf.write(fname, shortname)
]:
	i: 911&924(AL), 954(AF), 964(f)
	o: 1068()

nname: 964
n 964(None)[for mod_dir in sys.path:
if fname.startswith(mod_dir):
	if 'wybox' in fname:
		pass
	break
	continue
]:
	i: 954(for)
	o: 1035()

nname: 954
n 954(None)[]:
	i: 911&924(loop)
	o: 964(for), 1035(AF)

nname: 911&924
n 911&924(None)[if 'gtk-2.0' in fname or 'wydbus' in fname:
	continue
]:
	i: 893(t)
	o: 954(loop), 1035(AL)

nname: 893
n 893(isinstance(fname, basestring))[for fname in py_files:
]:
	i: 886(for)
	o: 911&924(t), 1054(f)

nname: 886
n 886(None)[]:
	i: 740(loop)
	o: 893(for), 1171(AF)

nname: 740
n 740(None)[del _[2]
for fname in os.listdir(wydbus_root):
	if fname.endswith('.py') or fname.endswith('.so'):
		shutil.copy(os.path.join(wydbus_root, fname), wydbus_dir)
		continue
print '.so files:',
print bytes_to_human(sum(<genexpr>(so_files)))
]:
	i: 647(AF), 710()
	o: 886(loop), 1171(AL)

nname: 710
n 710(None)[for f in py_files:
if 'wydbus/' in f:
	continue
]:
	i: 647(for)
	o: 740()

nname: 647
n 647(None)[os.mkdir(wydbus_dir)
]:
	i: 438(AL), 441(AF), 609()
	o: 710(for), 740(AF)

nname: 609
n 609(None)[shutil.copy(fname, os.path.join(python_home, 'lib', 'python2.5'))
]:
	i: 463(), 448(f)
	o: 647()

nname: 463
n 463(None)[os.mkdir(gobject_dir)
shutil.copy(fname, gobject_dir)
for gobj in <genexpr>(py_files):
	shutil.copy(gobj.replace('.pyo', '.pyc'), gobject_dir)
continue
]:
	i: 448(t)
	o: 609()

nname: 448
n 448('_gobject' in fname)[for fname in so_files:
]:
	i: 441(for)
	o: 463(t), 609(f)

nname: 441
n 441(None)[]:
	i: 438(loop)
	o: 448(for), 647(AF)

nname: 438
n 438(None)[]:
	i: 59(AL), 287(AF), 294()
	o: 441(loop), 647(AL)

nname: 294
n 294(None)[for fname in modules_list:
if fname.endswith('.so'):
	so_files.append(fname)
	continue
if not os.path.exists(fname):
	egg_path += '.egg'
	py_files.append((subdir, ZipFile(egg_path).read(subdir)))
	continue
py_files.append(fname)
]:
	i: 287(for)
	o: 438()

nname: 287
n 287(None)[]:
	i: 59(loop)
	o: 294(for), 438(AF)

nname: 59
n 59(None)[del _[1]
for modules_list in sys.modules.values():
import os
import shutil
from peewee.formatters import bytes_to_human
from zipfile import ZipFile, ZIP_DEFLATED
try:
	shutil.rmtree(python_home)
except:
	pass
os.mkdir(python_home)
os.mkdir(os.path.join(python_home, 'lib'))
os.mkdir(os.path.join(python_home, 'lib', 'python2.5'))
modules_list.sort()
]:
	i: 0(AF), 23()
	o: 287(loop), 438(AL)

nname: 23
n 23(None)[for m in sys.modules.values():
if hasattr(m, '__file__'):
	continue
]:
	i: 0(for)
	o: 59()

nname: 0
n 0(None)[]:
	i: 
	o: 23(for), 59(AF)

nname: 1462
n 1462(None)[images.sort()
print '.png files:'
print '   * recent (> %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
print '   * old (<= %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
return None
]:
	i: 1171(AL), 1300(AF), 1316(AL), 1351(AF), 1358()
	o: 

nname: 1358
n 1358(None)[for fname in files:
if not fname.lower().endswith('.png'):
	continue
images.append((stats.st_atime, stats.st_size, fullname))
]:
	i: 1351(for)
	o: 1462()

nname: 1351
n 1351(None)[]:
	i: 1316(loop)
	o: 1358(for), 1462(AF)

nname: 1316
n 1316(None)[if '.svn' in root:
	continue
]:
	i: 1300(for)
	o: 1351(loop), 1462(AL)

nname: 1300
n 1300(None)[]:
	i: 1171(loop)
	o: 1316(for), 1462(AF)

nname: 1171
n 1171(None)[zf.close()
print '.py files:',
print bytes_to_human(sum(<genexpr>(py_files))),
print '->',
print bytes_to_human(os.stat(os.path.join(python_home, 'lib', 'python25.zip')).st_size),
print '(compressed)'
print "PYTHONHOME='%s' python -c 'import wybox; wybox.startup()'" % python_home
]:
	i: 740(AL), 886(AF), 1068()
	o: 1300(loop), 1462(AL)

nname: 1068
n 1068(None)[if '/wybox/config/__init__.py' in shortname:
	zf.write(fname, shortname)
	continue
]:
	i: 1035(), 1054()
	o: 1171()

nname: 1054
n 1054(None)[zf.writestr(*fname)
]:
	i: 893(f)
	o: 1068()

nname: 1035
n 1035(None)[zf.write(fname, shortname)
]:
	i: 911&924(AL), 954(AF), 964(f)
	o: 1068()

nname: 964
n 964(None)[for mod_dir in sys.path:
if fname.startswith(mod_dir):
	if 'wybox' in fname:
		pass
	break
	continue
]:
	i: 954(for)
	o: 1035()

nname: 954
n 954(None)[]:
	i: 911&924(loop)
	o: 964(for), 1035(AF)

nname: 911&924
n 911&924(None)[if 'gtk-2.0' in fname or 'wydbus' in fname:
	continue
]:
	i: 893(t)
	o: 954(loop), 1035(AL)

nname: 893
n 893(isinstance(fname, basestring))[for fname in py_files:
]:
	i: 886(for)
	o: 911&924(t), 1054(f)

nname: 886
n 886(None)[]:
	i: 740(loop)
	o: 893(for), 1171(AF)

nname: 740
n 740(None)[del _[2]
for fname in os.listdir(wydbus_root):
	if fname.endswith('.py') or fname.endswith('.so'):
		shutil.copy(os.path.join(wydbus_root, fname), wydbus_dir)
		continue
print '.so files:',
print bytes_to_human(sum(<genexpr>(so_files)))
]:
	i: 647(AF), 710()
	o: 886(loop), 1171(AL)

nname: 710
n 710(None)[for f in py_files:
if 'wydbus/' in f:
	continue
]:
	i: 647(for)
	o: 740()

nname: 647
n 647(None)[os.mkdir(wydbus_dir)
]:
	i: 438(AL), 441(AF), 448()
	o: 710(for), 740(AF)

nname: 448
n 448(None)[for fname in so_files:
if '_gobject' in fname:
	os.mkdir(gobject_dir)
	shutil.copy(fname, gobject_dir)
	for gobj in <genexpr>(py_files):
		shutil.copy(gobj.replace('.pyo', '.pyc'), gobject_dir)
	continue
shutil.copy(fname, os.path.join(python_home, 'lib', 'python2.5'))
]:
	i: 441(for)
	o: 647()

nname: 441
n 441(None)[]:
	i: 438(loop)
	o: 448(for), 647(AF)

nname: 438
n 438(None)[]:
	i: 59(AL), 287(AF), 294()
	o: 441(loop), 647(AL)

nname: 294
n 294(None)[for fname in modules_list:
if fname.endswith('.so'):
	so_files.append(fname)
	continue
if not os.path.exists(fname):
	egg_path += '.egg'
	py_files.append((subdir, ZipFile(egg_path).read(subdir)))
	continue
py_files.append(fname)
]:
	i: 287(for)
	o: 438()

nname: 287
n 287(None)[]:
	i: 59(loop)
	o: 294(for), 438(AF)

nname: 59
n 59(None)[del _[1]
for modules_list in sys.modules.values():
import os
import shutil
from peewee.formatters import bytes_to_human
from zipfile import ZipFile, ZIP_DEFLATED
try:
	shutil.rmtree(python_home)
except:
	pass
os.mkdir(python_home)
os.mkdir(os.path.join(python_home, 'lib'))
os.mkdir(os.path.join(python_home, 'lib', 'python2.5'))
modules_list.sort()
]:
	i: 0(AF), 23()
	o: 287(loop), 438(AL)

nname: 23
n 23(None)[for m in sys.modules.values():
if hasattr(m, '__file__'):
	continue
]:
	i: 0(for)
	o: 59()

nname: 0
n 0(None)[]:
	i: 
	o: 23(for), 59(AF)

nname: 1462
n 1462(None)[images.sort()
print '.png files:'
print '   * recent (> %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
print '   * old (<= %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
return None
]:
	i: 1171(AL), 1300(AF), 1316(AL), 1351(AF), 1358()
	o: 

nname: 1358
n 1358(None)[for fname in files:
if not fname.lower().endswith('.png'):
	continue
images.append((stats.st_atime, stats.st_size, fullname))
]:
	i: 1351(for)
	o: 1462()

nname: 1351
n 1351(None)[]:
	i: 1316(loop)
	o: 1358(for), 1462(AF)

nname: 1316
n 1316(None)[if '.svn' in root:
	continue
]:
	i: 1300(for)
	o: 1351(loop), 1462(AL)

nname: 1300
n 1300(None)[]:
	i: 1171(loop)
	o: 1316(for), 1462(AF)

nname: 1171
n 1171(None)[zf.close()
print '.py files:',
print bytes_to_human(sum(<genexpr>(py_files))),
print '->',
print bytes_to_human(os.stat(os.path.join(python_home, 'lib', 'python25.zip')).st_size),
print '(compressed)'
print "PYTHONHOME='%s' python -c 'import wybox; wybox.startup()'" % python_home
]:
	i: 740(AL), 886(AF), 1068()
	o: 1300(loop), 1462(AL)

nname: 1068
n 1068(None)[if '/wybox/config/__init__.py' in shortname:
	zf.write(fname, shortname)
	continue
]:
	i: 1035(), 1054()
	o: 1171()

nname: 1054
n 1054(None)[zf.writestr(*fname)
]:
	i: 893(f)
	o: 1068()

nname: 1035
n 1035(None)[zf.write(fname, shortname)
]:
	i: 911&924(AL), 954(AF), 964(f)
	o: 1068()

nname: 964
n 964(None)[for mod_dir in sys.path:
if fname.startswith(mod_dir):
	if 'wybox' in fname:
		pass
	break
	continue
]:
	i: 954(for)
	o: 1035()

nname: 954
n 954(None)[]:
	i: 911&924(loop)
	o: 964(for), 1035(AF)

nname: 911&924
n 911&924(None)[if 'gtk-2.0' in fname or 'wydbus' in fname:
	continue
]:
	i: 893(t)
	o: 954(loop), 1035(AL)

nname: 893
n 893(isinstance(fname, basestring))[for fname in py_files:
]:
	i: 886(for)
	o: 911&924(t), 1054(f)

nname: 886
n 886(None)[]:
	i: 740(loop)
	o: 893(for), 1171(AF)

nname: 740
n 740(None)[del _[2]
for fname in os.listdir(wydbus_root):
	if fname.endswith('.py') or fname.endswith('.so'):
		shutil.copy(os.path.join(wydbus_root, fname), wydbus_dir)
		continue
print '.so files:',
print bytes_to_human(sum(<genexpr>(so_files)))
]:
	i: 448(AF), 710()
	o: 886(loop), 1171(AL)

nname: 710
n 710(None)[for f in py_files:
if 'wydbus/' in f:
	continue
]:
	i: 448(for)
	o: 740()

nname: 448
n 448(None)[for fname in so_files:
	if '_gobject' in fname:
		os.mkdir(gobject_dir)
		shutil.copy(fname, gobject_dir)
		for gobj in <genexpr>(py_files):
			shutil.copy(gobj.replace('.pyo', '.pyc'), gobject_dir)
		continue
	shutil.copy(fname, os.path.join(python_home, 'lib', 'python2.5'))
os.mkdir(wydbus_dir)
]:
	i: 438(for)
	o: 710(for), 740(AF)

nname: 438
n 438(None)[]:
	i: 59(AL), 287(AF), 294()
	o: 448(for)

nname: 294
n 294(None)[for fname in modules_list:
if fname.endswith('.so'):
	so_files.append(fname)
	continue
if not os.path.exists(fname):
	egg_path += '.egg'
	py_files.append((subdir, ZipFile(egg_path).read(subdir)))
	continue
py_files.append(fname)
]:
	i: 287(for)
	o: 438()

nname: 287
n 287(None)[]:
	i: 59(loop)
	o: 294(for), 438(AF)

nname: 59
n 59(None)[del _[1]
for modules_list in sys.modules.values():
import os
import shutil
from peewee.formatters import bytes_to_human
from zipfile import ZipFile, ZIP_DEFLATED
try:
	shutil.rmtree(python_home)
except:
	pass
os.mkdir(python_home)
os.mkdir(os.path.join(python_home, 'lib'))
os.mkdir(os.path.join(python_home, 'lib', 'python2.5'))
modules_list.sort()
]:
	i: 0(AF), 23()
	o: 287(loop), 438(AL)

nname: 23
n 23(None)[for m in sys.modules.values():
if hasattr(m, '__file__'):
	continue
]:
	i: 0(for)
	o: 59()

nname: 0
n 0(None)[]:
	i: 
	o: 23(for), 59(AF)

nname: 1462
n 1462(None)[images.sort()
print '.png files:'
print '   * recent (> %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
print '   * old (<= %s):' % ref_time,
print bytes_to_human(sum(<genexpr>(images)))
return None
]:
	i: 1171(AL), 1300(AF), 1316(AL), 1351(AF), 1358()
	o: 

nname: 1358
n 1358(None)[for fname in files:
if not fname.lower().endswith('.png'):
	continue
images.append((stats.st_atime, stats.st_size, fullname))
]:
	i: 1351(for)
	o: 1462()

nname: 1351
n 1351(None)[]:
	i: 1316(loop)
	o: 1358(for), 1462(AF)

nname: 1316
n 1316(None)[if '.svn' in root:
	continue
]:
	i: 1300(for)
	o: 1351(loop), 1462(AL)

nname: 1300
n 1300(None)[]:
	i: 1171(loop)
	o: 1316(for), 1462(AF)

nname: 1171
n 1171(None)[zf.close()
print '.py files:',
print bytes_to_human(sum(<genexpr>(py_files))),
print '->',
print bytes_to_human(os.stat(os.path.join(python_home, 'lib', 'python25.zip')).st_size),
print '(compressed)'
print "PYTHONHOME='%s' python -c 'import wybox; wybox.startup()'" % python_home
]:
	i: 740(AL), 886(AF), 1068()
	o: 1300(loop), 1462(AL)

nname: 1068
n 1068(None)[if '/wybox/config/__init__.py' in shortname:
	zf.write(fname, shortname)
	continue
]:
	i: 1035(), 1054()
	o: 1171()

nname: 1054
n 1054(None)[zf.writestr(*fname)
]:
	i: 893(f)
	o: 1068()

nname: 1035
n 1035(None)[zf.write(fname, shortname)
]:
	i: 911&924(AL), 954(AF), 964(f)
	o: 1068()

nname: 964
n 964(None)[for mod_dir in sys.path:
if fname.startswith(mod_dir):
	if 'wybox' in fname:
		pass
	break
	continue
]:
	i: 954(for)
	o: 1035()

nname: 954
n 954(None)[]:
	i: 911&924(loop)
	o: 964(for), 1035(AF)

nname: 911&924
n 911&924(None)[if 'gtk-2.0' in fname or 'wydbus' in fname:
	continue
]:
	i: 893(t)
	o: 954(loop), 1035(AL)

nname: 893
n 893(isinstance(fname, basestring))[for fname in py_files:
]:
	i: 886(for)
	o: 911&924(t), 1054(f)

nname: 886
n 886(None)[]:
	i: 740(loop)
	o: 893(for), 1171(AF)

nname: 740
n 740(None)[del _[2]
for fname in os.listdir(wydbus_root):
	if fname.endswith('.py') or fname.endswith('.so'):
		shutil.copy(os.path.join(wydbus_root, fname), wydbus_dir)
		continue
print '.so files:',
print bytes_to_human(sum(<genexpr>(so_files)))
]:
	i: 438(AF), 710()
	o: 886(loop), 1171(AL)

nname: 710
n 710(None)[for f in py_files:
if 'wydbus/' in f:
	continue
]:
	i: 438(for)
	o: 740()

nname: 438
n 438(None)[for fname in so_files:
	if '_gobject' in fname:
		os.mkdir(gobject_dir)
		shutil.copy(fname, gobject_dir)
		for gobj in <genexpr>(py_files):
			shutil.copy(gobj.replace('.pyo', '.pyc'), gobject_dir)
		continue
	shutil.copy(fname, os.path.join(python_home, 'lib', 'python2.5'))
os.mkdir(wydbus_dir)
]:
	i: 59(AL), 287(AF), 294()
	o: 710(for), 740(AF)

nname: 294
n 294(None)[for fname in modules_list:
if fname.endswith('.so'):
	so_files.append(fname)
	continue
if not os.path.exists(fname):
	egg_path += '.egg'
	py_files.append((subdir, ZipFile(egg_path).read(subdir)))
	continue
py_files.append(fname)
]:
	i: 287(for)
	o: 438()

nname: 287
n 287(None)[]:
	i: 59(loop)
	o: 294(for), 438(AF)

nname: 59
n 59(None)[del _[1]
for modules_list in sys.modules.values():
import os
import shutil
from peewee.formatters import bytes_to_human
from zipfile import ZipFile, ZIP_DEFLATED
try:
	shutil.rmtree(python_home)
except:
	pass
os.mkdir(python_home)
os.mkdir(os.path.join(python_home, 'lib'))
os.mkdir(os.path.join(python_home, 'lib', 'python2.5'))
modules_list.sort()
]:
	i: 0(AF), 23()
	o: 287(loop), 438(AL)

nname: 23
n 23(None)[for m in sys.modules.values():
if hasattr(m, '__file__'):
	continue
]:
	i: 0(for)
	o: 59()

nname: 0
n 0(None)[]:
	i: 
	o: 23(for), 59(AF)

self.nodes: {0: <unpyclib.structure.node instance at 0xb758b26c>, 1035: <unpyclib.structure.node instance at 0xb758e0cc>, 1171: <unpyclib.structure.node instance at 0xb758e3cc>, 1300: <unpyclib.structure.node instance at 0xb758e44c>, 23: <unpyclib.structure.node instance at 0xb758ff2c>, 1054: <unpyclib.structure.node instance at 0xb758e14c>, 287: <unpyclib.structure.node instance at 0xb758b6ec>, 294: <unpyclib.structure.node instance at 0xb758f0cc>, 1068: <unpyclib.structure.node instance at 0xb758f90c>, '911&924': <unpyclib.structure.node instance at 0xb758fe0c>, 438: <unpyclib.structure.node instance at 0xb758f34c>, 954: <unpyclib.structure.node instance at 0xb753696c>, 59: <unpyclib.structure.node instance at 0xb758f48c>, 964: <unpyclib.structure.node instance at 0xb758fdcc>, 1462: <unpyclib.structure.node instance at 0xb758eacc>, 710: <unpyclib.structure.node instance at 0xb758f1cc>, 1351: <unpyclib.structure.node instance at 0xb758e6cc>, 1358: <unpyclib.structure.node instance at 0xb758fc0c>, 740: <unpyclib.structure.node instance at 0xb758f2ec>, 1316: <unpyclib.structure.node instance at 0xb758fa8c>, 886: <unpyclib.structure.node instance at 0xb75365ec>, 893: <unpyclib.structure.node instance at 0xb753666c>}
nname: 0
n 0(None)[from __future__ import absolute_import
__all__ = ['dump_home']
python_home = '/tmp/wybox_home'
import sys
import time
from pygui.config import themes_dir
def dump_home():
	pass

]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb757046c>}
from __future__ import absolute_import
__all__ = ['dump_home']
python_home = '/tmp/wybox_home'
import sys
import time
from pygui.config import themes_dir
def dump_home():
	pass

